projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cb9f33
)
board: ti: am43xx: add AM437x SK PHY Address
author
Felipe Balbi
<
[email protected]
>
Tue, 10 Jun 2014 20:01:21 +0000
(15:01 -0500)
committer
Tom Rini
<
[email protected]
>
Thu, 19 Jun 2014 21:53:58 +0000
(17:53 -0400)
pass correct PHY Address when running on SK
so that we have working ethernet with this board
too.
Signed-off-by: Felipe Balbi <
[email protected]
>
board/ti/am43xx/board.c
patch
|
blob
|
history
diff --git
a/board/ti/am43xx/board.c
b/board/ti/am43xx/board.c
index 6379cef89f08959bb2ffc38c451ef698d8aa958c..054a452eac353e79f11a40fa686bf30a20fa1b60 100644
(file)
--- a/
board/ti/am43xx/board.c
+++ b/
board/ti/am43xx/board.c
@@
-594,6
+594,11
@@
int board_eth_init(bd_t *bis)
writel(RMII_MODE_ENABLE | RMII_CHIPCKL_ENABLE, &cdev->miisel);
cpsw_slaves[0].phy_if = PHY_INTERFACE_MODE_RMII;
cpsw_slaves[0].phy_addr = 16;
+ } else if (board_is_sk()) {
+ writel(RGMII_MODE_ENABLE, &cdev->miisel);
+ cpsw_slaves[0].phy_if = PHY_INTERFACE_MODE_RGMII;
+ cpsw_slaves[0].phy_addr = 4;
+ cpsw_slaves[1].phy_addr = 5;
} else {
writel(RGMII_MODE_ENABLE, &cdev->miisel);
cpsw_slaves[0].phy_if = PHY_INTERFACE_MODE_RGMII;